package com.cc.service.Impl;

import com.cc.entity.Book;
import com.cc.entity.Category;
import com.cc.mapper.CategoryMapper;
import com.cc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    CategoryMapper categoryMapper;
    @Override
    public List<Category> selectAll(String bookName, String author) {
        return categoryMapper.selectCategory();
    }
}
